cmake_minimum_required(VERSION 3.21)

project(QoolUIBundle VERSION 2.0)

set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

#set(CMAKE_AUTOUIC ON)
#set(CMAKE_AUTOMOC ON)

find_package(Qt6 REQUIRED COMPONENTS Core Quick LinguistTools)
qt_standard_project_setup()
#set(CMAKE_AUTORCC ON)
set(CMAKE_INCLUDE_CURRENT_DIR ON)


add_library(QoolUI_help INTERFACE EXCLUDE_FROM_ALL
  .clang-format
  README_zh.md
)

set(QT_QML_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/qml)

add_subdirectory(qoolui)
add_subdirectory(exampleapp)


